﻿using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WinFormsAppTest.pojo;

namespace WinFormsAppTest.Class
{
    internal class Files
    {
        public int fileid;
        public String msg;
        public String house;
        public String contract;
        public String insure;
        public int userid;

        //有参构造
        public Files(int fileid, string msg, string house, string contract, string insure, int userid)
        {
            this.fileid = fileid;
            this.msg = msg ?? throw new ArgumentNullException(nameof(msg));
            this.house = house ?? throw new ArgumentNullException(nameof(house));
            this.contract = contract ?? throw new ArgumentNullException(nameof(contract));
            this.insure = insure ?? throw new ArgumentNullException(nameof(insure));
            this.userid = userid;
        }

        public Files()
        {
        }
        
    }
}
